package com.easyweb.service;

import java.util.List;
import java.util.Map;

import com.easyweb.model.PollingPicture;

public interface PollingPictureService {

	public int insertPollingPicture(PollingPicture pollingPicture);
	
	public int deletePollingPictureById(Map<String, Object> map);
	
	public int updatePollingPicture(PollingPicture pollingPicture);
	
	public List<PollingPicture> getPollingPictures(Map<String, Object> map);
	
	public PollingPicture getPollingPictureById(Map<String, Object> map);
	/**
	 * 用于首页展示
	 * @param map
	 * @return
	 */
	public List<PollingPicture> getIndexPollingPictures(Map<String, Object> map);
}
